<!--
 * @Descripttion: 出手鸭小程序
 * @version:1.0.1 
 * @Author: HHL
 * @Date: 2023-10-08 11:24:34
 * @LastEditTime: 2023-10-18 11:35:32
 * @LastEditors:Hui
-->

<template>
  <view class="banner-wrap" v-show="banner.bannerId">
    <image
      :src="banner.image"
      mode="widthFix"
      class="banner"
      @click="urlJump(banner)"
    />
  </view>
</template>


<script>
export default {
  props: {
    banner: { type: Object, default: {} }
  }
}
</script>

<style lang="scss" scoped>

.banner-wrap{
  padding-bottom: 20rpx;
}

.banner{
  width: 100%;
  display: block;
}
</style>